//
//  CustomizationCell.m
//  ai2ban
//
//  Created by Heartbeats on 2018/1/11.
//  Copyright © 2018年 mac book pro. All rights reserved.
//

#import "CustomizationCell.h"

@interface CustomizationCell()

@property (weak, nonatomic) IBOutlet UIImageView *customizaImgV;
@property (weak, nonatomic) IBOutlet UILabel *nameLab;
@property (weak, nonatomic) IBOutlet UILabel *feiLab;

@end

@implementation CustomizationCell


- (void)awakeFromNib {
    [super awakeFromNib];
    self.nameLab.layer.cornerRadius = 6;
    self.nameLab.clipsToBounds = true;
    self.feiLab.layer.cornerRadius = 6;
    self.feiLab.clipsToBounds = true;
}

- (void)setGoodModel:(JiFenGoodModel *)goodModel {
    _goodModel = goodModel;
    self.nameLab.text = goodModel.name;
    self.feiLab.text = goodModel.showScore;
    [self.customizaImgV sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",ImageBaseUrl, goodModel.picImg]]];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
